package com.design.pattern.create.factory.factoryMethod;

import com.design.pattern.entry.Fruit;
import com.design.pattern.entry.fruit.Orange;

/**
 * 橘子工厂
 *
 * @author gyf
 * @create 2018-11-30 15:11
 **/
public class OrangeFactory implements FruitFactory {
    @Override
    public Fruit getFruit() {
        return new Orange("gyf", 100);
    }
}
